package com.hall.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class RegisterVo implements Serializable {

    @NotBlank(message = "用户名不能为空")
    private String loginName;

    @NotBlank(message = "手机号不能为空")
    private String phone;

    private String inviteCode;

    @NotBlank(message = "用户名类型必选")
    private String userType;

    @NotBlank(message = "密码不能为空")
    private String password;

    // 2023.2.24 lyy
    private String name;

    // 医院，单位
    private String company_id;

    // 科室，部门
    private String office_id;

    // 医生职称，员工职业等级
    private String level;

}
